package org.jeecg.modules.bobo.desform.vo;

import java.util.List;
import org.jeecg.modules.bobo.desform.entity.LbDesform;
import org.jeecg.modules.bobo.desform.entity.LbDesformData;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 动态表单
 * @Author: jeecg-boot
 * @Date:   2021-04-09
 * @Version: V1.0
 */
@Data
@ApiModel(value="lb_desformPage对象", description="动态表单")
public class LbDesformPage {

	/**id*/
	@ApiModelProperty(value = "id")
    private java.lang.String id;
	/**表单名称*/
	@Excel(name = "表单名称", width = 15)
	@ApiModelProperty(value = "表单名称")
    private java.lang.String desformName;
	/**表单类型*/
	@Excel(name = "表单类型", width = 15, dictTable = "lb_desform_type", dicText = "title", dicCode = "code")
    @Dict(dictTable = "lb_desform_type", dicText = "title", dicCode = "code")
	@ApiModelProperty(value = "表单类型")
    private java.lang.String desformType;
	/**表单模板编码*/
	@Excel(name = "表单模板编码", width = 15)
	@ApiModelProperty(value = "表单模板编码")
    private java.lang.String desformCode;
	/**表单设计json*/
	@Excel(name = "表单设计json", width = 15)
	@ApiModelProperty(value = "表单设计json")
    private java.lang.String desformDesignJson;
	/**表单图标*/
	@Excel(name = "表单图标", width = 15)
	@ApiModelProperty(value = "表单图标")
    private java.lang.String desformIcon;
	/**开始时间*/
	@Excel(name = "开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "开始时间")
    private java.util.Date startTime;
	/**结束时间*/
	@Excel(name = "结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "结束时间")
    private java.util.Date endTime;
	/**父级编码*/
	@Excel(name = "父级编码", width = 15)
	@ApiModelProperty(value = "父级编码")
    private java.lang.String parentCode;
	/**父级id*/
	@Excel(name = "父级id", width = 15)
	@ApiModelProperty(value = "父级id")
    private java.lang.String parentId;
	/**状态*/
	@Excel(name = "状态", width = 15, dictTable = "state", dicText = "", dicCode = "")
    @Dict(dictTable = "state", dicText = "", dicCode = "")
	@ApiModelProperty(value = "状态")
    private java.lang.String status;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;

	@ExcelCollection(name="表单数据")
	@ApiModelProperty(value = "表单数据")
	private List<LbDesformData> lbDesformDataList;

}
